package cn.gene.timeyan.common.exception.handler;

import lombok.Getter;

/**
 * 异常处理*
 *
 * @author LWG
 * @date 2022/8/2 16:30
 * @since 1.0.0 @gene.cn
 */
@Getter
public class ServiceException extends RuntimeException {
    private Integer states;

    public ServiceException(String message, Integer states) {
        super(message);
        this.states = states;
    }
}
